package com.getword.mongodao;

import com.getword.domain.VideoComment;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface VideoCommentRepository extends MongoRepository<VideoComment, String> {
    VideoComment findVideoCommentById(String id);
    List<VideoComment> findVideoCommentsByVideoId(String videoId);
}
